/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package SourceCode;

import java.io.Serializable;

/**
 *
 * @author ssaad
 */
public class Magazine extends Item implements Serializable
{

    private String Issueno;

    public Magazine(String title, int Checkoutlength, String Issueno) {
        super(title, Checkoutlength);
        this.Issueno = Issueno;
    }


    public String getIssueno() {
        return Issueno;
    }

    public String tostring()
    {
        return "Issue No:" +this.Issueno + " Title:" +  super.getTitle() + " DateLength:" + super.getCheckoutlength() ;
    }

}
